<?php

/**
 * Banner form.
 *
 * @package    catalogo
 * @subpackage form
 * @author     Your name here
 * @version    SVN: $Id: sfDoctrineFormTemplate.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class BannerForm extends BaseBannerForm
{
  public function configure()
  {
		$this->widgetSchema['tipo'] = new sfWidgetFormChoice(array(
		  'choices'  => array_keys(Doctrine_Core::getTable('Banner')->getTipos()),
		  'multiple' => false,
		  'expanded' => true,
		));  			
  }
}
